package cn.wolfcode.crm.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Setter
@Getter
public class StudentTracking {
    private Long id;
    //客户 定于 学员
    private PotentialStudent potentialStudent;
    //咨询人员
    private Employee consultant;
    //本次跟进时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date followupTime;
    //下次跟进时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd  HH:mm:ss", timezone = "GMT+8")
    private Date nextFollowTime;
    //跟进目的
    private SystemDictionaryItem tracePurpose;
    //qq
    private Integer qqNum;
    //电话
    private String tel;
    //意向程度
    private SystemDictionaryItem wantedLevel;
    //审核说明
    private String auditExplain;
    //审核状态
    private Boolean auditState;
    //邮箱
    private String email;
    //状态是否是正常学员
    private SystemDictionaryItem state;
    //学校
    private School school;
    //意向班级
    private Grade grade;
    //约访日期
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd  HH:mm:ss", timezone = "GMT+8")
    private Date appointTime;
    //交流方式
    private SystemDictionaryItem communicationMethod;
    //咨询时长
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd  HH:mm:ss", timezone = "GMT+8")
    private Integer consultDuration;
    //摘要
    private String focusProblem;
    //交流内容
    private String remark;

}